package com.medica.ledproject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaona
 * @since 2024-05-29
 */
@Data
public class DzParkLedProgramsDao implements Serializable {

    @Schema(description = "节目id",required = true)
    @JsonProperty(value="id")
    private int id;
    @Schema(description = "节目名称",required = true)
    @JsonProperty(value="name")
    private String name;
    @Schema(description = "0 文字  1图片  2视频" ,required = true)
    @JsonProperty(value="type")
    private Integer type;
    @Schema(description = "创建用户" ,required = true)
    @JsonProperty(value="adminId")
    private Integer adminId;
    @Schema(description = "文字内容")
    @JsonProperty(value="textContent")
    private String textContent;

    @Schema(description = "文字样式")
    @JsonProperty(value="textStyle")
    private String textStyle;

    @Schema(description = "图片地址")
    @JsonProperty(value="picUrl")
    private String picUrl;

    @Schema(description = "视频地址")
    @JsonProperty(value="videoUrl")
    private String videoUrl;

    @Schema(description = "显示区域,x,y,width,height",example = "0,0,15,25")
    @JsonProperty(value="area")
    private String area="0,0,1450,1450";

    @Schema(description = "动画效果")
    @JsonProperty(value="animation")
    private String animation;

    @Schema(description = "停留时间")
    @JsonProperty(value="stayTime")
    private Integer stayTime;


}
